InputPanel for WinForms | ComponentOne
C1.Win.4.8 Assembly / C1.Win.Collections.ObjectModel Namespace / ObservableDictionary<TKey,TValue> Class / Add Method / Add(TKey,TValue) Method
The object to use as the key of the element to add.
The object to use as the value of the element to add.

In This Topic
    Add(TKey,TValue) Method
    In This Topic
    Adds an element with the provided key and value to the ObservableDictionary<TKey,TValue>.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal key As TKey, _
       ByVal value As TValue _
    ) 
    public void Add( 
       TKey key,
       TValue value
    )

    Parameters

    key
    The object to use as the key of the element to add.
    value
    The object to use as the value of the element to add.
    See Also